<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div style="width: 500px;height:500px;text-align:center;border: 1px solid black;margin: 50px auto">
   <div style="border: 1px solid black;width: 50%;height: 50%;margin: 100px auto;">
       <form action="" th:object="${wechat}" th:action="@{/admin/weeidit}">
           <input type="hidden" name="yid" th:value="*{yid}">
           href:<input type="text" name="yhref" th:value="*{yhref}">
           title: <input type="text" name="ytitle" th:value="*{ytitle}">
           <input type="submit"  value="submit">
       </form>
   </div>
</div>
</body>
</html>